package com.test.ObPatternDemo;

/**
 * ${DESCRIPTION}
 *
 * @author muxiaoyu
 * @create 2017/05/17 10:25
 **/
public class WeatherStation {
    public static void main(String[] args) {
        WeatherData weatherData = new WeatherData();
        CurrentConditionDisplay currentConditionDisplay = new CurrentConditionDisplay(weatherData);
        weatherData.setMeasurements(1.0f, 2.0f, 3.0f);
        weatherData.setMeasurements(4.0f, 5.0f, 6.0f);
    }
}
